﻿using System;
using System.Windows.Forms;

namespace RabbitDownload.WebSite.Konachan.GetTag
{
    public partial class KonachanGetTagControl : UserControl
    {
        public KonachanGetTagControl()
        {
            InitializeComponent();
            InitView();
        }

        private void InitView()
        {
            comboBox1.Items.AddRange(GetTagScanner.Comblist.ToArray());
            comboBox1.SelectedIndex = 0;
        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            new GetTagScanner().GetMode(comboBox1.Text, textBox1.Text);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            new GetTagScanner().GetAllTag(textBox1.Text);
        }
    }
}